//package com.wmb.userservice.config;
//
//import org.springframework.cloud.loadbalancer.cache.DefaultLoadBalancerCacheManager;
//import org.springframework.cloud.loadbalancer.cache.LoadBalancerCacheManager;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class LoadBalancerCacheConfig {
//
//    @Bean
//    public LoadBalancerCacheManager cacheManager() {
//        // 默认 TTL: 30秒, 容量: 1000
//        return new DefaultLoadBalancerCacheManager("my-service-cache", 30, 1000);
//    }
//}